package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.News;

@Mapper
public interface NewsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(News row);

    int insertSelective(News row);

    News selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(News row);

    int updateByPrimaryKeyWithBLOBs(News row);

    int updateByPrimaryKey(News row);
}